package com.bootdo.program.wallpaper.dao;

import com.bootdo.program.wallpaper.domain.AppConnectDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 用户第三方信息表
 * @author guoyunfei
 * @email 2549789059@qq.com
 * @date 2021-12-02 21:14:50
 */
@Mapper
public interface AppConnectDao {

	AppConnectDO get(Long id);
	AppConnectDO getByOpenId(String openid);
	AppConnectDO getByUserId(String userId);

	List<AppConnectDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(AppConnectDO appConnect);
	
	int update(AppConnectDO appConnect);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
